package com.lolineet.auth.entity;

import org.springframework.security.core.authority.SimpleGrantedAuthority;

import java.util.Collection;
import java.util.Set;

/**
 * UsernamePasswordLoginEntity
 *
 * @author YUKI.N
 * @version 1.0
 * @description
 * @date 2025/4/17 22:35
 */
public class SysUsernamePasswordLoginEntity {

    private String username;

    private String password;

    private Collection<SimpleGrantedAuthority> authorities;

    private Set<String> perms;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Collection<SimpleGrantedAuthority> getAuthorities() {
        return authorities;
    }

    public void setAuthorities(Collection<SimpleGrantedAuthority> authorities) {
        this.authorities = authorities;
    }

    public Set<String> getPerms() {
        return perms;
    }

    public void setPerms(Set<String> perms) {
        this.perms = perms;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


}
